//
//  SIOperationViewController.h
//  CampingLight
//
//  Created by Piccolo on 2017/11/10.
//  Copyright © 2017年 SmartIT. All rights reserved.
//

#import "CircleProgressBar.h"
#import "SICPSDKResultInfo.h"
#import "ASValueTrackingSlider.h"

typedef enum : NSUInteger {
    CustomizationStateCustom = 1,
} CustomizationState;

@protocol SmartITOperationViewControllerDelegate <NSObject>

@optional
- (void)didSendRequest;

@end

@class CircleProgressBar;


@interface SIOperationViewController : SIBaseViewController

@property (weak, nonatomic) id<SmartITOperationViewControllerDelegate> delegate;

/*Control View*/
@property (weak, nonatomic) IBOutlet UIView *controlView;
@property (weak, nonatomic) IBOutlet UIView *controlTopView;

@property (weak, nonatomic) IBOutlet CircleProgressBar *controlCircleProgressBar;
@property (weak, nonatomic) IBOutlet UIImageView *controlDishImageView;
@property (weak, nonatomic) IBOutlet UIButton *controlSuperBtn;
@property (weak, nonatomic) IBOutlet UILabel *controlProgressBarValueLabel;

@property (weak, nonatomic) IBOutlet UIButton *controlMinusBtn;
@property (weak, nonatomic) IBOutlet UIButton *controlPlusBtn;
@property (weak, nonatomic) IBOutlet ASValueTrackingSlider *controlSlider;
@property (weak, nonatomic) IBOutlet UIImageView *hotImageView;
@property (weak, nonatomic) IBOutlet UIImageView *coldImageView;


@property (weak, nonatomic) IBOutlet UIView *controlMiddleView;

@property (weak, nonatomic) IBOutlet UIButton *controlIndicatorLightBtn;
@property (weak, nonatomic) IBOutlet UIButton *controlSoundBtn;

@property (weak, nonatomic) IBOutlet UISwitch *controlIndicatorSwitch;
@property (weak, nonatomic) IBOutlet UISwitch *controlSoundSwitch;
@property (weak, nonatomic) IBOutlet UIImageView *batteryImageView;
@property (weak, nonatomic) IBOutlet UIView *controlSwitchView;

/*Awaken View*/

@property (weak, nonatomic) IBOutlet UIView *awakenView;
@property (weak, nonatomic) IBOutlet UIView *awakenTopView;
@property (weak, nonatomic) IBOutlet UILabel *awakenTopViewLabel;
@property (weak, nonatomic) IBOutlet UISwitch *awakenSwitch;
@property (weak, nonatomic) IBOutlet UIView *awakenTimerView;
@property (weak, nonatomic) IBOutlet UILabel *awakenOnLabel;
@property (weak, nonatomic) IBOutlet UILabel *awakenOffLabel;
@property (weak, nonatomic) IBOutlet UILabel *awakenOnTimerLabel;
@property (weak, nonatomic) IBOutlet UIImageView *awakenOnImageView;
@property (weak, nonatomic) IBOutlet UIImageView *awakenOffImageView;
@property (weak, nonatomic) IBOutlet UILabel *awakenOffTimerLabel;
@property (weak, nonatomic) IBOutlet UIView *awakenTimeSelectView;

/*Smart View*/
@property (weak, nonatomic) IBOutlet UIView *smartView;
@property (weak, nonatomic) IBOutlet UIView *smartTopView;
@property (weak, nonatomic) IBOutlet UILabel *smartTopViewLabel;
@property (weak, nonatomic) IBOutlet UIButton *smartCancelBtn;
@property (weak, nonatomic) IBOutlet UIButton *smartOperationalBtn;
@property (weak, nonatomic) IBOutlet UIView *smartCountDownView;
@property (weak, nonatomic) IBOutlet UIView *smartSelectTimeView;
@property (weak, nonatomic) IBOutlet UIDatePicker *smartTimePickerView;
@property (weak, nonatomic) IBOutlet UILabel *smartCountDownTimeLabel;


/*Bottom View*/
@property (weak, nonatomic) IBOutlet UIView *bottomView;
@property (weak, nonatomic) IBOutlet UIButton *bottomOnOffBtn;
@property (weak, nonatomic) IBOutlet UIButton *bottomControlBtn;
@property (weak, nonatomic) IBOutlet UIButton *bottomAwakenBtn;
@property (weak, nonatomic) IBOutlet UIButton *bottomSmartBtn;
@property (weak, nonatomic) IBOutlet UILabel *onOffLabel;
@property (weak, nonatomic) IBOutlet UILabel *bottomControlLabel;
@property (weak, nonatomic) IBOutlet UILabel *bottomAwakenLabel;
@property (weak, nonatomic) IBOutlet UILabel *bottomSmartLabel;

- (void)updateAutoReport:(SICPSDKResultInfo *)activeReportInfo;
- (void)bleDisconnect;

@end
